// const b1 = Buffer.alloc(10)
// const b2 = Buffer.allocUnsafe(10)
// console.log(b1);
// console.log(b2);

//from 
// const b1 = Buffer.from([1,2,3])
// console.log(b1);

// const b1 = Buffer.from([0xe4,0xb8,0xad])
// console.log(b1);
// console.log(b1.toString());

//对新空间的拷贝
// const b1 = Buffer.alloc(3)
// const b2 = Buffer.from(b1)
// console.log(b1,b2);
// b1[0] = 1
// console.log(b1,b2);

